﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Evelve.aspx.cs" Inherits="PMS.Web.Evelve" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="css/grouplist.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hid_projectID" runat="server" />
    <div style="width:98%;">
        <table width="100%">
            <tr>
                <td align="right" style="width: 120px;">
                    项目类型：
                </td>
                <td align="left">
                    <asp:Label ID="lab_ProjectType" ForeColor="Red" runat="server" Text=""></asp:Label>
                </td>
                <td align="right" style="width: 100px;">
                    工程编号：
                </td>
                <td align="left">
                    <asp:Label ID="lab_ProjectID" ForeColor="Red" runat="server" Text=""></asp:Label>
                </td>
                <td align="right" style="width: 100px;">
                    JDE号：
                </td>
                <td align="left">
                    <asp:Label ID="lab_JDEID" ForeColor="Red" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    城市：
                </td>
                <td>
                    <asp:Label ID="lab_City" ForeColor="Red" runat="server"></asp:Label>
                </td>
                <td align="right">
                    项目名称：
                </td>
                <td colspan="3">
                    <asp:Label ID="lab_ProjectName" ForeColor="Red" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    系统安装地址：
                </td>
                <td>
                    <asp:Label ID="lab_SystemPath" ForeColor="Red" runat="server"></asp:Label>
                </td>
                <td align="right">
                    客户联系人：
                </td>
                <td>
                    <asp:Label ID="lab_Customer" ForeColor="Red" runat="server"></asp:Label>
                </td>
                <td align="right">
                    联系电话：
                </td>
                <td>
                    <asp:Label ID="lab_CustomerTel" ForeColor="Red" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    当前状态：
                </td>
                <td align="left" colspan="5">
                    <asp:Label ID="lab_State" ForeColor="Red" runat="server" Text="现场交底"></asp:Label>
                </td>
            </tr>
        </table>
        <img src="image/mainpage_line.jpg" />
        <asp:GridView ID="gv_PMS_ProjectEvolve" runat="server" AutoGenerateColumns="False"
            OnRowDataBound="gv_PMS_ProjectEvolve_RowDataBound" HeaderStyle-CssClass="GridHeader"
            CssClass="GridTable" HeaderStyle-Height="23px" Width="100%" EmptyDataText="没有数据"
            ShowHeaderWhenEmpty="True" OnRowCancelingEdit="gv_PMS_ProjectEvolve_RowCancelingEdit"
            OnRowEditing="gv_PMS_ProjectEvolve_RowEditing" OnRowUpdating="gv_PMS_ProjectEvolve_RowUpdating"
            DataKeyNames="id">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID" ReadOnly="True" Visible="False" />
                <asp:BoundField DataField="status" HeaderText="状态" ReadOnly="True" HeaderStyle-CssClass="GridHeader"
                    ItemStyle-CssClass="GridTableTD">
                    <HeaderStyle Width="11%" />
                    <ItemStyle Width="11%" />
                </asp:BoundField>
                <asp:BoundField DataField="startDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="开始时间"
                    HeaderStyle-CssClass="GridHeader" ItemStyle-CssClass="GridTableTDCenter">
                    <HeaderStyle Width="21%" />
                    <ItemStyle Width="21%" />
                </asp:BoundField>
                <asp:BoundField DataField="planEndDate" HeaderText="预计结束时间" DataFormatString="{0:yyyy-MM-dd}"
                    HeaderStyle-CssClass="GridHeader" ItemStyle-CssClass="GridTableTDCenter">
                    <HeaderStyle Width="21%" />
                    <ItemStyle Width="21%" />
                </asp:BoundField>
                <asp:BoundField DataField="completeDate" HeaderText="实际完成时间" DataFormatString="{0:yyyy-MM-dd}"
                    HeaderStyle-CssClass="GridHeader" ItemStyle-CssClass="GridTableTDCenter">
                    <HeaderStyle Width="21%" />
                    <ItemStyle Width="21%" />
                </asp:BoundField>
                <asp:BoundField DataField="principal" HeaderText="负责人" HeaderStyle-CssClass="GridHeader"
                    ItemStyle-CssClass="GridTableTD">
                    <HeaderStyle Width="20%" />
                    <ItemStyle Width="20%" />
                </asp:BoundField>
                <asp:CommandField ShowEditButton="True" HeaderText="编辑" ButtonType="Image" CancelImageUrl="~/image/icon_cancel.gif"
                    EditImageUrl="~/image/Edit.gif" UpdateImageUrl="~/image/icon_save.gif" HeaderStyle-CssClass="GridHeader"
                    ItemStyle-CssClass="GridTableTDCenter">
                    <HeaderStyle Width="6%" />
                    <ItemStyle Width="6%" />
                </asp:CommandField>
            </Columns>
        </asp:GridView>
        <img src="image/mainpage_line.jpg" />
        <table width="100%">
            <tr>
                <td colspan="4">
                    相关资料
                </td>
            </tr>
            <tr>
                <td>
                    1、设备清单
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadDeviceList" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_DeviceList" CssClass="BlueButton_Min" runat="server" Text="上传"
                        OnClick="btn_DeviceList_Click" />
                </td>
                <td>
                    <a id="lbtn_DeviceList" runat="server" target="_blank">附件</a>
                </td>
            </tr>
            <tr>
                <td>
                    2、平面图纸
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadPlaneDiagram" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_PlaneDiagram" CssClass="BlueButton_Min" runat="server" Text="上传"
                        OnClick="btn_PlaneDiagram_Click" />
                </td>
                <td>
                    <a id="lbtn_PlaneDiagram" runat="server" target="_blank">附件</a>
                </td>
            </tr>
            <tr>
                <td>
                    3、系统图纸
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadSystemDiagram" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_SystemDiagram" CssClass="BlueButton_Min" runat="server" Text="上传"
                        OnClick="btn_SystemDiagram_Click" />
                </td>
                <td>
                    <a id="lbtn_SystemDiagram" runat="server" target="_blank">附件</a>
                </td>
            </tr>
            <tr>
                <td>
                    4、进度计划
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadProgress" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_Progress" CssClass="BlueButton_Min" runat="server" Text="上传"
                        OnClick="btn_Progress_Click" />
                </td>
                <td>
                    <a id="lbtn_Progress" runat="server" target="_blank">附件</a>
                </td>
            </tr>
            <tr>
                <td>
                    5、验收单
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadReceipt" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_Receipt" CssClass="BlueButton_Min" runat="server" Text="上传" OnClick="btn_Receipt_Click" />
                </td>
                <td>
                    <a id="lbtn_Receipt" runat="server" target="_blank">附件</a>
                </td>
            </tr>
            <tr>
                <td>
                    6、完工报告
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadReport" runat="server" />
                </td>
                <td>
                    <asp:Button ID="btn_Report" CssClass="BlueButton_Min" runat="server" Text="上传" OnClick="btn_Report_Click" />
                </td>
                <td>
                    <a id="lbtn_Report" runat="server" target="_blank">附件</a>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
